﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ECOSYSTEMPRESENTACION
{
    public partial class frmProductoServicio : Form
    {
        public frmProductoServicio()
        {
            InitializeComponent();
        }

        private void btnBack_Click(object sender, EventArgs e)
        {
            this.Close();
            frmBuscarProducto BusProc = new frmBuscarProducto();
            BusProc.MdiParent = this.MdiParent;
            BusProc.Show();
        }

        private void btnAceptar_Click(object sender, EventArgs e)
        {
            frmFactura data = new frmFactura();
            data.dgvDetalleFactura.Rows.Add();
            this.Close();
            data.MdiParent = this.MdiParent;
            data.Show();
        }
    }
}
